import { apiService } from '../../api/apiService';
import { PostReview } from '../../api/server';
import { showSuccess } from '../../util/MessageDeal';
import { selfI18n } from '@/i18n';
export function getUserRepairSetup () {
    const PostRepairReview = (param, callback) => {
        apiService({
            api: PostReview,
            param: { ...param },
            success: () => {
                showSuccess(selfI18n('wp_Published_successfully'));
                callback && callback();
            }
        });
    };
    return {
        PostRepairReview
    };
}
